﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Parqueadero
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            string tipo = textBox1.Text;
            if (tipo.Equals("Admin")) {
                View.Administrador.mainAdministrador ma = new Parqueadero.View.Administrador.mainAdministrador();
                ma.Show();
            }else if(tipo.Equals("Super")){
                View.Supervisor.mainSupervisor ms = new Parqueadero.View.Supervisor.mainSupervisor();
                ms.Show();
            }else if(tipo.Equals("Vigi")){
                View.Vigilante.mainVigilante mv = new Parqueadero.View.Vigilante.mainVigilante();
                mv.Show();
            }
            
        }
    }
}
